fetcher: Hoist core "mirrored request" API to public
authorColin Walters <walters@verbum.org>
Thu, 22 Dec 2016 22:57:04 +0000 (17:57 -0500)
committerAtomic Bot <atomic-devel@projectatomic.io>
Wed, 4 Jan 2017 16:32:10 +0000 (16:32 +0000)
commitaf560047a2460bf7e75a5e343b9bb338a52131e2
tree3e755b3fcd7cfdfe4c314112d2b43ec718d041e1
parenteceb165013a2bba8f4aaca34aa8dc01f4633d152
fetcher: Hoist core "mirrored request" API to public

This is in preparation for the libcurl port. We're basically making public what
we had internally. The next step here is to create `ostree-fetcher-util.[ch]`
that only operates in terms of this lower level API.

Also drop the `_mirrored` from the function name since it's
the default now.

Closes: #636
Approved by: jlebon
src/libostree/ostree-fetcher.c
src/libostree/ostree-fetcher.h
src/libostree/ostree-repo-pull.c